/**
 * 
 */
package com.wolfpire.info.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wolfpire.system.common.Constants;
import com.wolfpire.system.common.UnCover;

/**
 * 专业情况统计表
 * @author lihd
 *
 */

@Entity
@Table(name = "t_professional_count_info")
public class ProfessionalCountInfo implements Serializable {
	
	private static final long serialVersionUID = -7207219610225739926L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 16)
	private Long id;//主键Id
	
	@Column(name = "year_", length = 5)
	private Integer year; //年度
	
	@Column(name = "total", length = 8)
	private Integer total; //合计
	
	@Column(name = "first_year_count", length = 8)
	private Integer firstYearCount; //一年级
	
	@Column(name = "second_year_count", length = 8)
	private Integer secondYearCount; //二年级
	
	@Column(name = "third_year_count", length = 8)
	private Integer thirdYearCount;//三年级
	
	@Column(name = "apprentice_count", length = 8)
	private Integer apprenticeCount;//现代学徒制培养
	
	@Column(name = "order_count", length = 8)
	private Integer orderCount;// 订单培养数
	
	@Column(name = "graduate_count", length = 8)
	private Integer graduateCount;//毕业生人数
	
	@Column(name = "all_double_certify_percent", length = 9)
	private String allDoubleCertifyPercent; //“双证书”比例（%）
	
	@Column(name = "all_employment_count", length = 8)
	private Integer allEmploymentCount; //就业人数（人）
	
	@Column(name = "all_employment_percent", length = 9)
	private String allEmploymentPercent;//就业率
	
	@Column(name = "all_employment_match_count", length = 8)
	private Integer allEmploymentMatchCount;//专业对口就业人数
	
	@Column(name = "all_employment_match_percent", length = 8)
	private String allEmploymentMatchPercent;//专业对口就业率
	
	@Column(name = "all_fir_avg_salary", length = 9)
	private String alFirAvgSalary; //初次就业平均月薪（元）
	
	@Column(name = "create_user_id", length = 16)
	private Long createUserId; //创建用户Id
	
	@Column(name = "create_user_name", length = 50)
	private String createUserName; //创建用户名称
	
	@UnCover
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date createTime = new Date();//创建时间
	
	@Column(name = "del_flag", length = 1)
	private Integer delFlag = Constants.NORMAL_FLAG;

	public ProfessionalCountInfo() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getFirstYearCount() {
		return firstYearCount;
	}

	public void setFirstYearCount(Integer firstYearCount) {
		this.firstYearCount = firstYearCount;
	}

	public Integer getSecondYearCount() {
		return secondYearCount;
	}

	public void setSecondYearCount(Integer secondYearCount) {
		this.secondYearCount = secondYearCount;
	}

	public Integer getThirdYearCount() {
		return thirdYearCount;
	}

	public void setThirdYearCount(Integer thirdYearCount) {
		this.thirdYearCount = thirdYearCount;
	}

	public Integer getApprenticeCount() {
		return apprenticeCount;
	}

	public void setApprenticeCount(Integer apprenticeCount) {
		this.apprenticeCount = apprenticeCount;
	}

	public Integer getOrderCount() {
		return orderCount;
	}

	public void setOrderCount(Integer orderCount) {
		this.orderCount = orderCount;
	}

	public Integer getGraduateCount() {
		return graduateCount;
	}

	public void setGraduateCount(Integer graduateCount) {
		this.graduateCount = graduateCount;
	}

	public String getAllDoubleCertifyPercent() {
		return allDoubleCertifyPercent;
	}

	public void setAllDoubleCertifyPercent(String allDoubleCertifyPercent) {
		this.allDoubleCertifyPercent = allDoubleCertifyPercent;
	}

	public Integer getAllEmploymentCount() {
		return allEmploymentCount;
	}

	public void setAllEmploymentCount(Integer allEmploymentCount) {
		this.allEmploymentCount = allEmploymentCount;
	}

	public String getAllEmploymentPercent() {
		return allEmploymentPercent;
	}

	public void setAllEmploymentPercent(String allEmploymentPercent) {
		this.allEmploymentPercent = allEmploymentPercent;
	}

	public Integer getAllEmploymentMatchCount() {
		return allEmploymentMatchCount;
	}

	public void setAllEmploymentMatchCount(Integer allEmploymentMatchCount) {
		this.allEmploymentMatchCount = allEmploymentMatchCount;
	}

	public String getAllEmploymentMatchPercent() {
		return allEmploymentMatchPercent;
	}

	public void setAllEmploymentMatchPercent(String allEmploymentMatchPercent) {
		this.allEmploymentMatchPercent = allEmploymentMatchPercent;
	}

	public String getAlFirAvgSalary() {
		return alFirAvgSalary;
	}

	public void setAlFirAvgSalary(String alFirAvgSalary) {
		this.alFirAvgSalary = alFirAvgSalary;
	}

}
